package com.caishi.lkx.order.ienum.status;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.zzw.common.mysql.MybatisPlusEnum;
import lombok.Getter;

/**
 * @author by keray
 * date:2019/7/29 10:38
 */
public enum PaymentStatus implements MybatisPlusEnum<Integer> {
    //
    waitPay("等待支付", 0),
    paySuccess("支付成功", 1);
    @Getter
    final
    String desc;

    @EnumValue
    @Getter
    final
    Integer code;

    PaymentStatus(String desc, Integer code) {
        this.desc = desc;
        this.code = code;
    }

}
